<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>地图查看器</title>

    <link rel="stylesheet" href="http://127.0.0.1/arcgis_js_api/library/4.10/esri/css/main.css">
    <link rel="stylesheet" href="css/mainApp.css">
    <link rel="stylesheet" href="../dist/css/dextra.css">


    <script src="../dist/config.js"></script>

    <script src="http://127.0.0.1/arcgis_js_api/library/4.10/init.js"></script>
    <script>


        // Load the Map and MapView modules
        require(["esri/Map","esri/config",
            "esri/geometry/Point",
            "dextra/layers/TdtVectorLayer",     "dextra/layers/TdtVectorAnnoLayer",
            "esri/views/MapView",
            "dojo/domReady!"], function(Map,esriConfig ,Point,TdtVectorLayer,TdtVectorAnnoLayer,MapView) {
            var layer=new TdtVectorLayer();
            var layer2=new TdtVectorAnnoLayer();


            var myMap = new Map({
//
                layers:[layer,layer2]
            });



            var mapViewer = new MapView({
                map: myMap,
                container: "viewDiv",
            });

        });
    </script>


</head>
<body>

<div id="viewDiv"></div>
</body>
</html>